package com.fansl.allround.open.api.constant;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/9/9 17:14
 */
public interface JuHeApiConstant {
    String BASIC_URL = "http://v.juhe.cn";
    String BASIC_OTHER_URL = "http://apis.juhe.cn";
    /**
     * 新闻头条
     */
    String News_Headlines = BASIC_URL+"/toutiao/index?type=%s&key=%s";
    /**
     * 天气预报
     */
    String Weather = BASIC_OTHER_URL + "/simpleWeather/query?city=%s&key=%s";
    /**
     * 天气预报-支持的城市
     */
    String Weather_Support_City = BASIC_OTHER_URL + "/simpleWeather/cityList?key=%s";
    /**
     * 天气预报-查询天气种类列表
     */
    String Weather_Type = BASIC_OTHER_URL + "/simpleWeather/wids?key=%s";

    /**
     * 发送短信验证码
     */
    String SMS = BASIC_URL+"/sms/send?mobile=%s&tpl_id=%d&tpl_value=%s&key=%s";
}
